// 导入初始化的base.less
@import './base.less';

@b: 19.2vw;

// 电梯效果变丝滑
html {
    scroll-behavior: smooth;
}

body {
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}






// 主体部分开始
.QQyy {

    width: 1250px;
    position: relative;
    margin: 0 auto;
    padding-top: 190px;
    padding-bottom: 700px;

    justify-content: end;

    //侧边栏部分开始
    .radio-sidebar {
        position: fixed;
        z-index: 999;
        top: 25%;
        left: 15%;
        margin-top: -101px;
        margin-left: 50px;
        display: flex;
        background: url('../upload/radio_sidebar.png') no-repeat;

        ul {
            padding: 0px;

            li {
                margin-left: 55px;
                position: fixed;
                top: 12px;
                height: 59px;
                width: 110px;
                position: relative;
                font-size: 15px;
                line-height: 33px;

                .active {
                    color: #31c27c;
                }

                a {
                    color: #000;
                    text-align: center;

                    &::before {
                        content: '';
                        position: absolute;
                        width: 40px;
                        height: 1px;
                        top: 28%;
                        left: -54px;
                        background-color: #ececec;
                        opacity: 0;

                    }

                    &:hover::before {
                        opacity: 1;
                        background-color: #31c27c !important;
                    }

                    &:hover {
                        color: #31c27c;
                    }
                }
            }
        }
    }

    //侧边栏部分结束

    // 主体标题部分开始
    h5 {
        margin-top: 8px;
        margin-left: 250px;
        font-size: 15px;
        color: #999;

        &::after {
            position: absolute;
            content: '';
            left: 293px;
            right: 0;
            height: 1px;
            width: 911px;
            top: 205px;
            background-color: #ececec;
            overflow: hidden;
        }
    }

    h4 {
        position: relative;
        margin-top: 49px;
        margin-left: 250px;
        font-size: 15px;
        color: #999;

        &::after {
            position: absolute;
            content: '';
            left: 43px;
            right: 0;
            height: 1px;
            width: 913px;
            top: 8px;
            // border-bottom: 1px solid #000;
            background-color: #ececec;
            overflow: hidden;
        }
    }

    //主体标题部分结束

    //内容部分开始
    .hot {
        margin-top: 40px;
        margin-right: 0;
        margin-left: 250px;

        a {
            position: relative;
            margin-right: 20px;
            overflow: hidden;

            &:last-child {
                margin-right: 0;
            }

            p {
                font-size: 14px;
                margin-top: 16px;
            }

            .box {
                position: relative;
                width: 100%;
                height: 224px;
                overflow: hidden;


                &::before {
                    content: '';
                    background: url(../imagse/cover_play.png) 80px 80px no-repeat;
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    left: 0px;
                    top: 0px;
                    opacity: 0;
                    transform: scale(.7);
                    transition: all .7s;
                    z-index: 99;
                    background-color: rgba(0, 0, 0, 0);
                }

                &::after {
                    content: '';
                    position: absolute;
                    width: 325px;
                    height: 325px;
                    left: -50px;
                    top: -50px;
                    opacity: 0;
                    transform: scale(.7);
                    transition: all .7s;
                    z-index: 98;
                    background-color: rgba(0, 0, 0, 0);
                }

                &:hover::after {
                    z-index: 98;
                    opacity: 1;
                    background-color: rgba(0, 0, 0, 0.3);
                }

                &:hover::before {
                    z-index: 99;
                    opacity: 1;
                    transform: scale(1.1);
                }

                &:hover img {
                    transform: scale(1.1);
                }
            }
        }

        .hot1,
        .hot2,
        .hot3,
        .hot4,
        .hot5,
        .hot6,
        .hot7 {
            display: flex;
            margin-top: 35px;
            margin-right: 45px;

        }

        img {
            position: relative;
            width: 224px;
            height: 224px;
            transition: all .6s;

            &::after {
                width: 100%;
                height: 100%;
                content: '';
                position: absolute;
                top: 0;
                left: 0;
            }
        }
    }

    //内容部分结束
}

//主体部分结束